package com.translate.web.param;

import javax.validation.constraints.Pattern;

import com.translate.web.constant.ValidateCondtionAndMessage;
import com.translate.web.param.contract.ICustomerSearchParam;
import com.param.impl.PageParam;

/**
 * 搜索客户
 * 
 * @author 111
 */
public class CustomerSearchParam extends PageParam implements ICustomerSearchParam {

	@Pattern(regexp = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE, message = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_MSG)
	private String param;

	private int poolId = 0;

	public String getParam() {
		return param;
	}

	public void setParam(String param) {
		this.param = param;
	}

	private int followMe;

	public int getFollowMe() {
		return followMe;
	}

	public void setFollowMe(int followMe) {
		this.followMe = followMe;
	}

	/**
	 * 最小 id
	 */
	private int min;

	/**
	 * 最大 id
	 */
	private int max;

	public int getMin() {
		return min;
	}

	public void setMin(int min) {
		this.min = min;
	}

	public int getMax() {
		return max;
	}

	public void setMax(int max) {
		this.max = max;
	}

	public int getPoolId() {
		return poolId;
	}

	public void setPoolId(int poolId) {
		this.poolId = poolId;
	}
}
